package com.sunfeng.gulimall.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @Author : 清风冷影
 * @Description:
 * @Date : 2021/11/17  15:32
 */
@EnableRedisHttpSession     //整合Redis作为session存储
@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients(basePackages = "com.sunfeng.gulimall.auth.feign")
public class GuLiMallAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(GuLiMallAuthApplication.class, args);
    }
}
